﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModels.Entities.Visitor
{
    [SugarTable("visiter")]
    public class Visiter
    {
        [SugarColumn(ColumnName = "UUID", Length = 36, IsPrimaryKey = true)]
        public string UUID { get; set; }

        public string UserUUID { get; set; }
        public string HousingBasicUUID { get; set; }

        public string VisitName { get; set; }

        public int VisitNumber { get; set; }

        public string Describe { get; set; }

        public DateTime? DisabledTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 0 未访问 1 已访问
        /// </summary>
        public int? IsVisit { get; set; }

        public DateTime? CreateTime { get; set; } = DateTime.Now;
    }
}
